package dryven.request.controller;

public class RedirectException extends RuntimeException {

	private ControllerDescription _forward;
	
	public RedirectException(ControllerDescription forward) {
		super();
		_forward = forward;
	}

	public RedirectException(ControllerDescription forward, Throwable cause) {
		super(cause);
		_forward = forward;
	}

	public ControllerDescription getForward() {
		return _forward;
	}

}
